package com.jchen.system.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description
 * @Author jchen
 * @Date 2023/12/21 15:07
 */
@Configuration
@ConfigurationProperties(prefix = "es.search.index")
public class SearchIndexConfig {

    /**
     * 人口ES索引名
     */
    private String user;

    /**
     * 索引枚举
     */
    public enum IndexEnum {
        USER
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }
}
